package com.atmaowei.mapper;

import com.atmaowei.entity.Login;
import com.atmaowei.entity.Student;
import com.atmaowei.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginMapper {
    public Login studentLogin(Login login);

    public Login teacherLogin(Login login);

    public Login adminLogin(Login login);

    Student checkSno(String sno);
    Teacher checkTno(String tno);

    void register(Login login);

    Login findPassword(Login login);

    String checkStudentStatus(String sno);

    String checkTeacherStatus(String tno);
}
